public static void dump(ReadableByteChannel src,WriteableChannel dest)
	throws IOExpection{
	Bytebuffer buffer = ByteBuffer.allocate(1024);
	try(ReadableByteChannel srcCH = src;WriteableByteChannel destCH = dest){
		While(srcCH.read(buffer)!=-1){
			buffer.flip();
			destCH.write(buffer);
			buffer.clear();
		}
	}
}

